$('document').ready
(
    function()
    {
		// 初始化筛选框
		$('#user_list').children('option').removeAttr('selected');
		$('#user_list').children("option[value='" + user_id + "']").attr('selected', 'selected');

		// 监听筛选框变化
		$('#user_list').change
		(
			function()
			{
				var user_id = $(this).val();
				switch(user_id)
				{
					case 'all':
						var uri = '/operation_log';
						break;
					default:
						var uri = '/operation_log?user_id=' + user_id;
				}
				window.location.href = URL + uri;
			}
		);
    }
);
